package rrrmai.room.database;

import android.arch.persistence.room.Database;
import android.arch.persistence.room.RoomDatabase;

import rrrmai.room.dao.ContactDao;
import rrrmai.room.dao.PostDao;
import rrrmai.viewbinder.Contact;
import rrrmai.viewbinder.Post;

/**
 * Created by az on 2018/3/20.
 */
@Database(entities = {Post.class, Contact.class}, version = 1,exportSchema=false)
public abstract class AppDataBase extends RoomDatabase {
    public abstract PostDao postDao();
    public abstract ContactDao contactDao();

}
